#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>

int main() {
    double a1;
    double a2;
    char c;
    double result = 0;
    scanf("%lf%c%lf", &a1, &c, &a2);
    if (c == '+' || c == '-' || c == '*' || c == '/')
    {
        if (c == '+')
        {
            printf("%.4lf%c%.4lf=%.4lf", a1, c, a2, a1 + a2);
        }
        else if (c == '-')
        {
            printf("%.4lf%c%.4lf=%.4lf", a1, c, a2, a1 - a2);
        }
        else if (c == '*')
        {
            printf("%.4lf%c%.4lf=%.4lf", a1, c, a2, a1 * a2);
        }
        else
        {
            if (a2 == 0.0)
            {
                printf("Wrong!Division by zero!");
            }
            else
            {
                printf("%.4lf%c%.4lf=%.4lf", a1, c, a2, a1 / a2);
            }
        }
    }
    else
    {
        printf("Invalid operation!");
    }
    return 0;
}